﻿using System;
using OneWorks.Metadata.Enum;

namespace OneWorks.Web.Common.Model
{
    public class ImageModel
    {
        public Guid ImageID { get; set; }
        public string Path { get; set; }
        public int Height { get; set; }
        public int Width { get; set; }
        public long CreateDate { get; set; }
        public bool DelFlag { get; set; }
        public string ImgType { get; set; }
        public Guid UserID { get; set; }
        public string CreateUserName { get; set; }
        public string Src { get; set; }
        public ImageUse ImgUse { get; set; }
    }

    public class FindImageModel : ImageModel
    {
        public int PageNumber { get; set; }

        public int PageSize { get; set; }
    }

    public class IconModel
    {
        public Guid IconID { get; set; }
        public Guid ImageID { get; set; }
        public Guid UserID { get; set; }
        public string Style { get; set; }
        public int Height { get; set; }
        public int Width { get; set; }
        public int Top { get; set; }
        public int Left { get; set; }
    }
}
